DevForce Help Reference
GetRelatedEntities<T>(EntityAspect,EntityRelationLink,QueryStrategy) Method


Returns all related entities via the specified IdeaBlade.EntityModel.EntityRelationLink using the specified QueryStrategy.
Syntax
'Declaration
 
<ExtensionAttribute()>
Public Overloads Shared Function GetRelatedEntities(Of T As EntityAspect)( _
   ByVal entity As EntityAspect, _
   ByVal relationLink As EntityRelationLink, _
   ByVal strategy As QueryStrategy _
) As IEnumerable(Of T)
'Usage
 
Dim entity As EntityAspect
Dim relationLink As EntityRelationLink
Dim strategy As QueryStrategy
Dim value As IEnumerable(Of T)
 
value = EntityAspectExtensions.GetRelatedEntities(Of T)(entity, relationLink, strategy)

Parameters

entity
relationLink
strategy

Type Parameters

T
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

EntityAspectExtensions Class
EntityAspectExtensions Members
Overload List

Send Feedback